package com.baidu.cmsService.services;

import com.baidu.cmsCommes.pojo.Channel;
import com.baidu.cmsCommes.pojo.ChannelDto;

import java.util.List;

/**
 * @Author: BSS
 * @create: 2020/6/22/20:46
 */
public interface ChannelService {

    List<Channel> selectChilds(Integer cid);

    List<String> getAllType();

    Boolean saveChannel(Channel channel);

    ChannelDto selectChannelById(Integer id);

    Boolean updateChannel(Integer id, Channel channel);

    void deleteChannelById(Integer id);

    Boolean updateSort(Integer[] ids);
}
